package cn.good.yan.service.impl;

import cn.good.yan.mapper.SalesMapper;
import cn.good.yan.pojo.Sales;
import cn.good.yan.service.SalesService;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * Sales 实体 Service层
 * @author shengren.yan
 * @create 2023-09-26
 */
// @DS 这个注解可以加在 类上、方法上，就近原则，改方法执行的数据源
@DS("slave1")
@Service
public class SalesServiceImpl extends ServiceImpl<SalesMapper, Sales> implements SalesService {
}
